
.//Obj/EOCV100_flash.elf:     file format elf32-littleriscv


Disassembly of section .text:

00200000 <__Vectors>:
  200000:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  200010:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  200020:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  200030:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  200040:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  200050:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  200060:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  200070:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  200080:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  200090:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  2000a0:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .
  2000b0:	c8 00 20 00 c8 00 20 00 c8 00 20 00 c8 00 20 00     .. ... ... ... .

002000c0 <__continue_label>:
.globl __continue_label
.section ".text"
.align 2
.type __continue_label, %function
__continue_label:
    mv a0, a0
  2000c0:	852a                	mv	a0,a0
    ret
  2000c2:	8082                	ret

002000c4 <__bkpt_label>:
.globl __bkpt_label
.section ".text"
.align 2
.type __bkpt_label, %function
__bkpt_label:
    ebreak
  2000c4:	9002                	ebreak
    ret
  2000c6:	8082                	ret

002000c8 <Default_Handler>:
	

  .align 2
Default_Handler:
  addi sp, sp, -272
  2000c8:	716d                	addi	sp,sp,-272

  SREG x1, 1*REGBYTES(sp)
  2000ca:	c206                	sw	ra,4(sp)
  SREG x2, 2*REGBYTES(sp)
  2000cc:	c40a                	sw	sp,8(sp)
  SREG x3, 3*REGBYTES(sp)
  2000ce:	c60e                	sw	gp,12(sp)
  SREG x4, 4*REGBYTES(sp)
  2000d0:	c812                	sw	tp,16(sp)
  SREG x5, 5*REGBYTES(sp)
  2000d2:	ca16                	sw	t0,20(sp)
  SREG x6, 6*REGBYTES(sp)
  2000d4:	cc1a                	sw	t1,24(sp)
  SREG x7, 7*REGBYTES(sp)
  2000d6:	ce1e                	sw	t2,28(sp)
  SREG x8, 8*REGBYTES(sp)
  2000d8:	d022                	sw	s0,32(sp)
  SREG x9, 9*REGBYTES(sp)
  2000da:	d226                	sw	s1,36(sp)
  SREG x10, 10*REGBYTES(sp)
  2000dc:	d42a                	sw	a0,40(sp)
  SREG x11, 11*REGBYTES(sp)
  2000de:	d62e                	sw	a1,44(sp)
  SREG x12, 12*REGBYTES(sp)
  2000e0:	d832                	sw	a2,48(sp)
  SREG x13, 13*REGBYTES(sp)
  2000e2:	da36                	sw	a3,52(sp)
  SREG x14, 14*REGBYTES(sp)
  2000e4:	dc3a                	sw	a4,56(sp)
  SREG x15, 15*REGBYTES(sp)
  2000e6:	de3e                	sw	a5,60(sp)

  csrr a0, mcause
  2000e8:	34202573          	csrr	a0,mcause
  csrr a1, mepc
  2000ec:	341025f3          	csrr	a1,mepc
  mv a2, sp
  2000f0:	860a                	mv	a2,sp
  jal handle_trap
  2000f2:	0a2000ef          	jal	ra,200194 <handle_trap>
  csrw mepc, a0
  2000f6:	34151073          	csrw	mepc,a0

  # Remain in M-mode after eret
  li t0, MSTATUS_MPP
  2000fa:	6289                	lui	t0,0x2
  2000fc:	80028293          	addi	t0,t0,-2048 # 1800 <FlashDevices+0x1800>
  csrs mstatus, t0
  200100:	3002a073          	csrs	mstatus,t0

  LREG x1, 1*REGBYTES(sp)
  200104:	4092                	lw	ra,4(sp)
  LREG x2, 2*REGBYTES(sp)
  200106:	4122                	lw	sp,8(sp)
  LREG x3, 3*REGBYTES(sp)
  200108:	41b2                	lw	gp,12(sp)
  LREG x4, 4*REGBYTES(sp)
  20010a:	4242                	lw	tp,16(sp)
  LREG x5, 5*REGBYTES(sp)
  20010c:	42d2                	lw	t0,20(sp)
  LREG x6, 6*REGBYTES(sp)
  20010e:	4362                	lw	t1,24(sp)
  LREG x7, 7*REGBYTES(sp)
  200110:	43f2                	lw	t2,28(sp)
  LREG x8, 8*REGBYTES(sp)
  200112:	5402                	lw	s0,32(sp)
  LREG x9, 9*REGBYTES(sp)
  200114:	5492                	lw	s1,36(sp)
  LREG x10, 10*REGBYTES(sp)
  200116:	5522                	lw	a0,40(sp)
  LREG x11, 11*REGBYTES(sp)
  200118:	55b2                	lw	a1,44(sp)
  LREG x12, 12*REGBYTES(sp)
  20011a:	5642                	lw	a2,48(sp)
  LREG x13, 13*REGBYTES(sp)
  20011c:	56d2                	lw	a3,52(sp)
  LREG x14, 14*REGBYTES(sp)
  20011e:	5762                	lw	a4,56(sp)
  LREG x15, 15*REGBYTES(sp)
  200120:	57f2                	lw	a5,60(sp)

  addi sp, sp, 272
  200122:	6151                	addi	sp,sp,272
  mret
  200124:	30200073          	mret
	...

0020012a <MemoryInit>:
  20012a:	1141                	addi	sp,sp,-16
  20012c:	c606                	sw	ra,12(sp)
  20012e:	c422                	sw	s0,8(sp)
  200130:	0800                	addi	s0,sp,16
  200132:	002017b7          	lui	a5,0x201
  200136:	64078713          	addi	a4,a5,1600 # 201640 <__e_ram_bss_1>
  20013a:	002007b7          	lui	a5,0x200
  20013e:	62078793          	addi	a5,a5,1568 # 200620 <g_rwBuffer>
  200142:	02f70363          	beq	a4,a5,200168 <MemoryInit+0x3e>
  200146:	002017b7          	lui	a5,0x201
  20014a:	64078713          	addi	a4,a5,1600 # 201640 <__e_ram_bss_1>
  20014e:	002007b7          	lui	a5,0x200
  200152:	62078793          	addi	a5,a5,1568 # 200620 <g_rwBuffer>
  200156:	40f707b3          	sub	a5,a4,a5
  20015a:	863e                	mv	a2,a5
  20015c:	4581                	li	a1,0
  20015e:	002007b7          	lui	a5,0x200
  200162:	62078513          	addi	a0,a5,1568 # 200620 <g_rwBuffer>
  200166:	2679                	jal	2004f4 <memset>
  200168:	0001                	nop
  20016a:	40b2                	lw	ra,12(sp)
  20016c:	4422                	lw	s0,8(sp)
  20016e:	0141                	addi	sp,sp,16
  200170:	8082                	ret

00200172 <SystemInit>:
  200172:	1141                	addi	sp,sp,-16
  200174:	c606                	sw	ra,12(sp)
  200176:	c422                	sw	s0,8(sp)
  200178:	0800                	addi	s0,sp,16
  20017a:	3f45                	jal	20012a <MemoryInit>
  20017c:	0001                	nop
  20017e:	40b2                	lw	ra,12(sp)
  200180:	4422                	lw	s0,8(sp)
  200182:	0141                	addi	sp,sp,16
  200184:	8082                	ret

00200186 <__main>:
  200186:	1141                	addi	sp,sp,-16
  200188:	c606                	sw	ra,12(sp)
  20018a:	c422                	sw	s0,8(sp)
  20018c:	0800                	addi	s0,sp,16
  20018e:	37d5                	jal	200172 <SystemInit>
  200190:	2839                	jal	2001ae <main>
  200192:	a001                	j	200192 <__main+0xc>

00200194 <handle_trap>:
  200194:	1101                	addi	sp,sp,-32
  200196:	ce22                	sw	s0,28(sp)
  200198:	1000                	addi	s0,sp,32
  20019a:	fea42623          	sw	a0,-20(s0)
  20019e:	feb42423          	sw	a1,-24(s0)
  2001a2:	fec42223          	sw	a2,-28(s0)
  2001a6:	0001                	nop
  2001a8:	4472                	lw	s0,28(sp)
  2001aa:	6105                	addi	sp,sp,32
  2001ac:	8082                	ret

002001ae <main>:
  2001ae:	1141                	addi	sp,sp,-16
  2001b0:	c606                	sw	ra,12(sp)
  2001b2:	c422                	sw	s0,8(sp)
  2001b4:	0800                	addi	s0,sp,16
  2001b6:	2225                	jal	2002de <flashInit>
  2001b8:	872a                	mv	a4,a0
  2001ba:	002017b7          	lui	a5,0x201
  2001be:	62e7ac23          	sw	a4,1592(a5) # 201638 <g_error>
  2001c2:	249d                	jal	200428 <flashTest>
  2001c4:	3701                	jal	2000c4 <__bkpt_label>
  2001c6:	002017b7          	lui	a5,0x201
  2001ca:	6307a783          	lw	a5,1584(a5) # 201630 <g_func>
  2001ce:	471d                	li	a4,7
  2001d0:	10f76563          	bltu	a4,a5,2002da <main+0x12c>
  2001d4:	00279713          	slli	a4,a5,0x2
  2001d8:	002007b7          	lui	a5,0x200
  2001dc:	5f078793          	addi	a5,a5,1520 # 2005f0 <__etext>
  2001e0:	97ba                	add	a5,a5,a4
  2001e2:	439c                	lw	a5,0(a5)
  2001e4:	8782                	jr	a5
  2001e6:	002017b7          	lui	a5,0x201
  2001ea:	63478513          	addi	a0,a5,1588 # 201634 <g_flashID>
  2001ee:	2a01                	jal	2002fe <flashID>
  2001f0:	872a                	mv	a4,a0
  2001f2:	002017b7          	lui	a5,0x201
  2001f6:	62e7ac23          	sw	a4,1592(a5) # 201638 <g_error>
  2001fa:	a0cd                	j	2002dc <main+0x12e>
  2001fc:	002017b7          	lui	a5,0x201
  200200:	6207a783          	lw	a5,1568(a5) # 201620 <g_dstAddress>
  200204:	873e                	mv	a4,a5
  200206:	002017b7          	lui	a5,0x201
  20020a:	6247a783          	lw	a5,1572(a5) # 201624 <g_length>
  20020e:	863e                	mv	a2,a5
  200210:	002007b7          	lui	a5,0x200
  200214:	62078593          	addi	a1,a5,1568 # 200620 <g_rwBuffer>
  200218:	853a                	mv	a0,a4
  20021a:	28e5                	jal	200312 <flashProgram>
  20021c:	872a                	mv	a4,a0
  20021e:	002017b7          	lui	a5,0x201
  200222:	62e7ac23          	sw	a4,1592(a5) # 201638 <g_error>
  200226:	a85d                	j	2002dc <main+0x12e>
  200228:	002017b7          	lui	a5,0x201
  20022c:	6207a783          	lw	a5,1568(a5) # 201620 <g_dstAddress>
  200230:	873e                	mv	a4,a5
  200232:	002017b7          	lui	a5,0x201
  200236:	6247a783          	lw	a5,1572(a5) # 201624 <g_length>
  20023a:	863e                	mv	a2,a5
  20023c:	85ba                	mv	a1,a4
  20023e:	002007b7          	lui	a5,0x200
  200242:	62078513          	addi	a0,a5,1568 # 200620 <g_rwBuffer>
  200246:	28f5                	jal	200342 <flashRead>
  200248:	872a                	mv	a4,a0
  20024a:	002017b7          	lui	a5,0x201
  20024e:	62e7ac23          	sw	a4,1592(a5) # 201638 <g_error>
  200252:	a069                	j	2002dc <main+0x12e>
  200254:	002017b7          	lui	a5,0x201
  200258:	6207a783          	lw	a5,1568(a5) # 201620 <g_dstAddress>
  20025c:	873e                	mv	a4,a5
  20025e:	002017b7          	lui	a5,0x201
  200262:	6247a783          	lw	a5,1572(a5) # 201624 <g_length>
  200266:	85be                	mv	a1,a5
  200268:	853a                	mv	a0,a4
  20026a:	2221                	jal	200372 <flashErase>
  20026c:	872a                	mv	a4,a0
  20026e:	002017b7          	lui	a5,0x201
  200272:	62e7ac23          	sw	a4,1592(a5) # 201638 <g_error>
  200276:	a09d                	j	2002dc <main+0x12e>
  200278:	2215                	jal	20039c <flashChipErase>
  20027a:	872a                	mv	a4,a0
  20027c:	002017b7          	lui	a5,0x201
  200280:	62e7ac23          	sw	a4,1592(a5) # 201638 <g_error>
  200284:	a8a1                	j	2002dc <main+0x12e>
  200286:	20a5                	jal	2002ee <flashUnInit>
  200288:	872a                	mv	a4,a0
  20028a:	002017b7          	lui	a5,0x201
  20028e:	62e7ac23          	sw	a4,1592(a5) # 201638 <g_error>
  200292:	a0a9                	j	2002dc <main+0x12e>
  200294:	002017b7          	lui	a5,0x201
  200298:	6207a783          	lw	a5,1568(a5) # 201620 <g_dstAddress>
  20029c:	86be                	mv	a3,a5
  20029e:	002017b7          	lui	a5,0x201
  2002a2:	6247a703          	lw	a4,1572(a5) # 201624 <g_length>
  2002a6:	002017b7          	lui	a5,0x201
  2002aa:	6287a783          	lw	a5,1576(a5) # 201628 <g_checksum>
  2002ae:	863e                	mv	a2,a5
  2002b0:	85ba                	mv	a1,a4
  2002b2:	8536                	mv	a0,a3
  2002b4:	28e5                	jal	2003ac <flashChecksum>
  2002b6:	872a                	mv	a4,a0
  2002b8:	002017b7          	lui	a5,0x201
  2002bc:	62e7ac23          	sw	a4,1592(a5) # 201638 <g_error>
  2002c0:	a831                	j	2002dc <main+0x12e>
  2002c2:	002017b7          	lui	a5,0x201
  2002c6:	62c7a783          	lw	a5,1580(a5) # 20162c <g_flashIndex>
  2002ca:	853e                	mv	a0,a5
  2002cc:	22a1                	jal	200414 <flashIndex>
  2002ce:	872a                	mv	a4,a0
  2002d0:	002017b7          	lui	a5,0x201
  2002d4:	62e7ac23          	sw	a4,1592(a5) # 201638 <g_error>
  2002d8:	a011                	j	2002dc <main+0x12e>
  2002da:	0001                	nop
  2002dc:	b5e5                	j	2001c4 <main+0x16>

002002de <flashInit>:
  2002de:	1141                	addi	sp,sp,-16
  2002e0:	c622                	sw	s0,12(sp)
  2002e2:	0800                	addi	s0,sp,16
  2002e4:	4781                	li	a5,0
  2002e6:	853e                	mv	a0,a5
  2002e8:	4432                	lw	s0,12(sp)
  2002ea:	0141                	addi	sp,sp,16
  2002ec:	8082                	ret

002002ee <flashUnInit>:
  2002ee:	1141                	addi	sp,sp,-16
  2002f0:	c622                	sw	s0,12(sp)
  2002f2:	0800                	addi	s0,sp,16
  2002f4:	4781                	li	a5,0
  2002f6:	853e                	mv	a0,a5
  2002f8:	4432                	lw	s0,12(sp)
  2002fa:	0141                	addi	sp,sp,16
  2002fc:	8082                	ret

002002fe <flashID>:
  2002fe:	1101                	addi	sp,sp,-32
  200300:	ce22                	sw	s0,28(sp)
  200302:	1000                	addi	s0,sp,32
  200304:	fea42623          	sw	a0,-20(s0)
  200308:	4781                	li	a5,0
  20030a:	853e                	mv	a0,a5
  20030c:	4472                	lw	s0,28(sp)
  20030e:	6105                	addi	sp,sp,32
  200310:	8082                	ret

00200312 <flashProgram>:
  200312:	1101                	addi	sp,sp,-32
  200314:	ce06                	sw	ra,28(sp)
  200316:	cc22                	sw	s0,24(sp)
  200318:	1000                	addi	s0,sp,32
  20031a:	fea42623          	sw	a0,-20(s0)
  20031e:	feb42423          	sw	a1,-24(s0)
  200322:	fec42223          	sw	a2,-28(s0)
  200326:	fe442783          	lw	a5,-28(s0)
  20032a:	863e                	mv	a2,a5
  20032c:	fe842583          	lw	a1,-24(s0)
  200330:	fec42503          	lw	a0,-20(s0)
  200334:	2211                	jal	200438 <memcpy>
  200336:	4781                	li	a5,0
  200338:	853e                	mv	a0,a5
  20033a:	40f2                	lw	ra,28(sp)
  20033c:	4462                	lw	s0,24(sp)
  20033e:	6105                	addi	sp,sp,32
  200340:	8082                	ret

00200342 <flashRead>:
  200342:	1101                	addi	sp,sp,-32
  200344:	ce06                	sw	ra,28(sp)
  200346:	cc22                	sw	s0,24(sp)
  200348:	1000                	addi	s0,sp,32
  20034a:	fea42623          	sw	a0,-20(s0)
  20034e:	feb42423          	sw	a1,-24(s0)
  200352:	fec42223          	sw	a2,-28(s0)
  200356:	fe442783          	lw	a5,-28(s0)
  20035a:	863e                	mv	a2,a5
  20035c:	fec42583          	lw	a1,-20(s0)
  200360:	fe842503          	lw	a0,-24(s0)
  200364:	28d1                	jal	200438 <memcpy>
  200366:	4781                	li	a5,0
  200368:	853e                	mv	a0,a5
  20036a:	40f2                	lw	ra,28(sp)
  20036c:	4462                	lw	s0,24(sp)
  20036e:	6105                	addi	sp,sp,32
  200370:	8082                	ret

00200372 <flashErase>:
  200372:	1101                	addi	sp,sp,-32
  200374:	ce06                	sw	ra,28(sp)
  200376:	cc22                	sw	s0,24(sp)
  200378:	1000                	addi	s0,sp,32
  20037a:	fea42623          	sw	a0,-20(s0)
  20037e:	feb42423          	sw	a1,-24(s0)
  200382:	fe842783          	lw	a5,-24(s0)
  200386:	863e                	mv	a2,a5
  200388:	4581                	li	a1,0
  20038a:	fec42503          	lw	a0,-20(s0)
  20038e:	229d                	jal	2004f4 <memset>
  200390:	4781                	li	a5,0
  200392:	853e                	mv	a0,a5
  200394:	40f2                	lw	ra,28(sp)
  200396:	4462                	lw	s0,24(sp)
  200398:	6105                	addi	sp,sp,32
  20039a:	8082                	ret

0020039c <flashChipErase>:
  20039c:	1141                	addi	sp,sp,-16
  20039e:	c622                	sw	s0,12(sp)
  2003a0:	0800                	addi	s0,sp,16
  2003a2:	4781                	li	a5,0
  2003a4:	853e                	mv	a0,a5
  2003a6:	4432                	lw	s0,12(sp)
  2003a8:	0141                	addi	sp,sp,16
  2003aa:	8082                	ret

002003ac <flashChecksum>:
  2003ac:	7179                	addi	sp,sp,-48
  2003ae:	d622                	sw	s0,44(sp)
  2003b0:	1800                	addi	s0,sp,48
  2003b2:	fca42e23          	sw	a0,-36(s0)
  2003b6:	fcb42c23          	sw	a1,-40(s0)
  2003ba:	fcc42a23          	sw	a2,-44(s0)
  2003be:	fe042423          	sw	zero,-24(s0)
  2003c2:	fe042623          	sw	zero,-20(s0)
  2003c6:	a01d                	j	2003ec <flashChecksum+0x40>
  2003c8:	fec42783          	lw	a5,-20(s0)
  2003cc:	fdc42703          	lw	a4,-36(s0)
  2003d0:	97ba                	add	a5,a5,a4
  2003d2:	0007c783          	lbu	a5,0(a5)
  2003d6:	873e                	mv	a4,a5
  2003d8:	fe842783          	lw	a5,-24(s0)
  2003dc:	97ba                	add	a5,a5,a4
  2003de:	fef42423          	sw	a5,-24(s0)
  2003e2:	fec42783          	lw	a5,-20(s0)
  2003e6:	0785                	addi	a5,a5,1
  2003e8:	fef42623          	sw	a5,-20(s0)
  2003ec:	fec42703          	lw	a4,-20(s0)
  2003f0:	fd842783          	lw	a5,-40(s0)
  2003f4:	fcf74ae3          	blt	a4,a5,2003c8 <flashChecksum+0x1c>
  2003f8:	fe842703          	lw	a4,-24(s0)
  2003fc:	fd442783          	lw	a5,-44(s0)
  200400:	00f71463          	bne	a4,a5,200408 <flashChecksum+0x5c>
  200404:	4781                	li	a5,0
  200406:	a019                	j	20040c <flashChecksum+0x60>
  200408:	f3100793          	li	a5,-207
  20040c:	853e                	mv	a0,a5
  20040e:	5432                	lw	s0,44(sp)
  200410:	6145                	addi	sp,sp,48
  200412:	8082                	ret

00200414 <flashIndex>:
  200414:	1101                	addi	sp,sp,-32
  200416:	ce22                	sw	s0,28(sp)
  200418:	1000                	addi	s0,sp,32
  20041a:	fea42623          	sw	a0,-20(s0)
  20041e:	4781                	li	a5,0
  200420:	853e                	mv	a0,a5
  200422:	4472                	lw	s0,28(sp)
  200424:	6105                	addi	sp,sp,32
  200426:	8082                	ret

00200428 <flashTest>:
  200428:	1141                	addi	sp,sp,-16
  20042a:	c622                	sw	s0,12(sp)
  20042c:	0800                	addi	s0,sp,16
  20042e:	4781                	li	a5,0
  200430:	853e                	mv	a0,a5
  200432:	4432                	lw	s0,12(sp)
  200434:	0141                	addi	sp,sp,16
  200436:	8082                	ret

00200438 <memcpy>:
  200438:	00463693          	sltiu	a3,a2,4
  20043c:	82aa                	mv	t0,a0
  20043e:	00c50333          	add	t1,a0,a2
  200442:	eea5                	bnez	a3,2004ba <memcpy+0x82>
  200444:	00b546b3          	xor	a3,a0,a1
  200448:	8a8d                	andi	a3,a3,3
  20044a:	eaa5                	bnez	a3,2004ba <memcpy+0x82>
  20044c:	00357693          	andi	a3,a0,3
  200450:	4391                	li	t2,4
  200452:	eebd                	bnez	a3,2004d0 <memcpy+0x98>
  200454:	ffc37393          	andi	t2,t1,-4
  200458:	fe038313          	addi	t1,t2,-32
  20045c:	04a36263          	bltu	t1,a0,2004a0 <memcpy+0x68>
  200460:	8a7d                	andi	a2,a2,31
  200462:	0001                	nop
  200464:	4198                	lw	a4,0(a1)
  200466:	c118                	sw	a4,0(a0)
  200468:	41dc                	lw	a5,4(a1)
  20046a:	c15c                	sw	a5,4(a0)
  20046c:	0085a803          	lw	a6,8(a1)
  200470:	01052423          	sw	a6,8(a0)
  200474:	00c5a883          	lw	a7,12(a1)
  200478:	01152623          	sw	a7,12(a0)
  20047c:	4998                	lw	a4,16(a1)
  20047e:	c918                	sw	a4,16(a0)
  200480:	49dc                	lw	a5,20(a1)
  200482:	c95c                	sw	a5,20(a0)
  200484:	0185a803          	lw	a6,24(a1)
  200488:	01052c23          	sw	a6,24(a0)
  20048c:	01c5a883          	lw	a7,28(a1)
  200490:	02058593          	addi	a1,a1,32
  200494:	01152e23          	sw	a7,28(a0)
  200498:	02050513          	addi	a0,a0,32
  20049c:	fca374e3          	bgeu	t1,a0,200464 <memcpy+0x2c>
  2004a0:	ffc38313          	addi	t1,t2,-4
  2004a4:	00a36963          	bltu	t1,a0,2004b6 <memcpy+0x7e>
  2004a8:	8a0d                	andi	a2,a2,3
  2004aa:	4198                	lw	a4,0(a1)
  2004ac:	0591                	addi	a1,a1,4
  2004ae:	c118                	sw	a4,0(a0)
  2004b0:	0511                	addi	a0,a0,4
  2004b2:	fea37ce3          	bgeu	t1,a0,2004aa <memcpy+0x72>
  2004b6:	00c50333          	add	t1,a0,a2
  2004ba:	ca09                	beqz	a2,2004cc <memcpy+0x94>
  2004bc:	00058703          	lb	a4,0(a1)
  2004c0:	0585                	addi	a1,a1,1
  2004c2:	00e50023          	sb	a4,0(a0)
  2004c6:	0505                	addi	a0,a0,1
  2004c8:	fe656ae3          	bltu	a0,t1,2004bc <memcpy+0x84>
  2004cc:	8516                	mv	a0,t0
  2004ce:	8082                	ret
  2004d0:	40d386b3          	sub	a3,t2,a3
  2004d4:	83b6                	mv	t2,a3
  2004d6:	00058703          	lb	a4,0(a1)
  2004da:	0585                	addi	a1,a1,1
  2004dc:	16fd                	addi	a3,a3,-1
  2004de:	00e50023          	sb	a4,0(a0)
  2004e2:	0505                	addi	a0,a0,1
  2004e4:	faed                	bnez	a3,2004d6 <memcpy+0x9e>
  2004e6:	40760633          	sub	a2,a2,t2
  2004ea:	00263693          	sltiu	a3,a2,2
  2004ee:	f6f1                	bnez	a3,2004ba <memcpy+0x82>
  2004f0:	b795                	j	200454 <memcpy+0x1c>
	...

002004f4 <memset>:
  2004f4:	433d                	li	t1,15
  2004f6:	872a                	mv	a4,a0
  2004f8:	02c37563          	bgeu	t1,a2,200522 <memset+0x2e>
  2004fc:	00f77793          	andi	a5,a4,15
  200500:	e3c9                	bnez	a5,200582 <memset+0x8e>
  200502:	06059763          	bnez	a1,200570 <memset+0x7c>
  200506:	ff067693          	andi	a3,a2,-16
  20050a:	8a3d                	andi	a2,a2,15
  20050c:	96ba                	add	a3,a3,a4
  20050e:	c30c                	sw	a1,0(a4)
  200510:	c34c                	sw	a1,4(a4)
  200512:	c70c                	sw	a1,8(a4)
  200514:	c74c                	sw	a1,12(a4)
  200516:	0741                	addi	a4,a4,16
  200518:	fed76be3          	bltu	a4,a3,20050e <memset+0x1a>
  20051c:	00061363          	bnez	a2,200522 <memset+0x2e>
  200520:	8082                	ret
  200522:	40c306b3          	sub	a3,t1,a2
  200526:	068a                	slli	a3,a3,0x2
  200528:	00000297          	auipc	t0,0x0
  20052c:	9696                	add	a3,a3,t0
  20052e:	00a68067          	jr	10(a3)
  200532:	00b70723          	sb	a1,14(a4)
  200536:	00b706a3          	sb	a1,13(a4)
  20053a:	00b70623          	sb	a1,12(a4)
  20053e:	00b705a3          	sb	a1,11(a4)
  200542:	00b70523          	sb	a1,10(a4)
  200546:	00b704a3          	sb	a1,9(a4)
  20054a:	00b70423          	sb	a1,8(a4)
  20054e:	00b703a3          	sb	a1,7(a4)
  200552:	00b70323          	sb	a1,6(a4)
  200556:	00b702a3          	sb	a1,5(a4)
  20055a:	00b70223          	sb	a1,4(a4)
  20055e:	00b701a3          	sb	a1,3(a4)
  200562:	00b70123          	sb	a1,2(a4)
  200566:	00b700a3          	sb	a1,1(a4)
  20056a:	00b70023          	sb	a1,0(a4)
  20056e:	8082                	ret
  200570:	0ff5f593          	zext.b	a1,a1
  200574:	00859693          	slli	a3,a1,0x8
  200578:	8dd5                	or	a1,a1,a3
  20057a:	01059693          	slli	a3,a1,0x10
  20057e:	8dd5                	or	a1,a1,a3
  200580:	b759                	j	200506 <memset+0x12>
  200582:	00279693          	slli	a3,a5,0x2
  200586:	00000297          	auipc	t0,0x0
  20058a:	9696                	add	a3,a3,t0
  20058c:	8286                	mv	t0,ra
  20058e:	fa8680e7          	jalr	-88(a3)
  200592:	8096                	mv	ra,t0
  200594:	17c1                	addi	a5,a5,-16
  200596:	8f1d                	sub	a4,a4,a5
  200598:	963e                	add	a2,a2,a5
  20059a:	f8c374e3          	bgeu	t1,a2,200522 <memset+0x2e>
  20059e:	b795                	j	200502 <memset+0xe>
	...

002005a2 <Reset_Handler>:
    csrci mstatus, 8
  2005a2:	30047073          	csrci	mstatus,8
	li t0, MSTATUS_FS | MSTATUS_XS
  2005a6:	62f9                	lui	t0,0x1e
	csrs mstatus, t0
  2005a8:	3002a073          	csrs	mstatus,t0
	li t0,  0x400000
  2005ac:	004002b7          	lui	t0,0x400
	csrs mxstatus, t0
  2005b0:	7c02a073          	csrs	mxstatus,t0
    la      a0, Default_Handler
  2005b4:	00000517          	auipc	a0,0x0
  2005b8:	b1450513          	addi	a0,a0,-1260 # 2000c8 <Default_Handler>
    ori     a0, a0, 3
  2005bc:	00356513          	ori	a0,a0,3
    csrw    mtvec, a0
  2005c0:	30551073          	csrw	mtvec,a0
    la      a0, __Vectors
  2005c4:	00000517          	auipc	a0,0x0
  2005c8:	a3c50513          	addi	a0,a0,-1476 # 200000 <__Vectors>
    csrw    mtvt, a0
  2005cc:	30751073          	csrw	mtvt,a0
    la      sp, __initial_sp
  2005d0:	00001117          	auipc	sp,0x1
  2005d4:	47010113          	addi	sp,sp,1136 # 201a40 <__end>
    csrw    mscratch, sp
  2005d8:	34011073          	csrw	mscratch,sp
    jal     __main
  2005dc:	babff0ef          	jal	ra,200186 <__main>

002005e0 <__exit>:
    j      __exit
  2005e0:	a001                	j	2005e0 <__exit>
	...
